<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="sourceStationForm">
                        <input id="id" name="id" th:value="${stationDO.id}"
                               class="form-control" type="hidden">
                        <div class="form-group" th:switch="${stationDO.type}">
                            <label class="col-sm-3 control-label" th:case = "1">站点名称：</label>
                            <label class="col-sm-3 control-label" th:case = "*">栏目名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" th:value="${stationDO.name}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group" >
                            <label class="col-sm-3 control-label" >refer：</label>
                            <div class="col-sm-8">
                                <input id="refer" name="refer" th:value="${stationDO.refer}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group" >
                            <label class="col-sm-3 control-label" >isDownload：</label>
                            <div class="col-sm-8">
                                <input id="isDownload" name="isDownload"  th:value="${stationDO.isDownload}"
                                       class="form-control" type="text">
                                <span style="color: red">0:未下载图集 1:下载图集</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <a onclick="update()" class="btn btn-primary">提交</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/collection/station/source/edit.js">
</script>
</body>
</html>
